<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>商品列表</title>
</head>
<body>

<a th:href="@{/shopping(method=addHistory,id=0)}">西游记</a><br>
<a th:href="@{/shopping(method=addHistory,id=1)}">红楼梦</a><br>
<a th:href="@{/shopping(method=addHistory,id=2)}">三国演义</a><br>
<a th:href="@{/shopping(method=addHistory,id=3)}">水浒传</a><br>

<a th:href="@{/shopping(method=showHistory)}">查看历史记录</a>


</body>
</html>